#ifndef LOGTAG_H
#define LOGTAG_H

#include "LogFile.h"
#include "dllmain.h"

struct TimeTaken
{
	int Year;
	int Month;
	int Day;
};

struct Reading {
	TimeTaken Taken;
	float Humidity;
	float Temperature;
};

__declspec(dllexport) int __stdcall OpenTagFile(const char *fileName);
__declspec(dllexport) int __stdcall GetReadingsCount(int handle);
__declspec(dllexport) bool __stdcall GetReading(int handle, int index, Reading *reading);

#endif